package com.cyjf.api.web;


import com.cyjf.biz.service.CarDealerService;
import com.cyjf.biz.service.TradeService;
import com.cyjf.util.ResultVO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RequestMapping("/trade")
@RestController
public class TradeController {

    @Resource
    private TradeService tradeService;


    @RequestMapping(value = "/count", method = RequestMethod.POST)
    private ResultVO tradeAmount(){

        return tradeService.tradeAmount();
    }
}
